//
//  HomePageDataHandle.h
//  LOLProject
//
//  Created by lanou3g on 15/5/29.
//  Copyright (c) 2015年 lanou3g.com蓝欧科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "VideoGameList.h"
#import "TheLatestVideoList.h"
#import "HdBroadcastList.h"

//重名block,此类block用来传值
typedef void(^VideoGameBlock)(NSMutableArray * array);
@interface HomePageDataHandle : NSObject

@property (nonatomic,copy) VideoGameBlock videoGameBlock;
@property (nonatomic,copy) VideoGameBlock theLatestVideoBlock;
@property (nonatomic,copy) VideoGameBlock hdBroadcastBlock;

//创建首页的单例对象
+ (HomePageDataHandle *) sharedInstance;

//从网上请求数据
- (void) requestHomePageData:(NSInteger) selectedSegmentIndex
                   DataArray:(NSMutableArray *) dataArray;

//从网上请求最新视频数据
- (void) requestHomePageDataTheLatestVideoWithDataArray:(NSMutableArray *) dataArray;


//从网上请求比赛视频数据
- (void) requestHomePageDataVideoGameWithDataArray:(NSMutableArray *) dataArray;

//从网上请求高清视频数据
- (void) requestHomePageDataHdBroadcastWithDataArray:(NSMutableArray *) dataArray;

@end
